package com.ruoyi.merchant.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class OrderCancelDTO {
    /** 订单ID */
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    /** 取消原因 */
    @NotBlank(message = "取消原因不能为空")
    private String cancelReason;
}
